package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;

import java.util.List;

public interface FoodService {

    void add(Food food);

    PageResult pageQuery(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    void edit(Food food);

    Food findById(Integer id);

    List<Food> findAll();

    void addList(List<Food> data);
}
